package net.xdclass.plusstudy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import javafx.scene.control.Pagination;
import net.xdclass.plusstudy.entity.User;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * UserMapper
 *
 * @author fxbin
 * @version v1.0
 * @since 2019/2/10 1:31
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
    User getHouseByUser(int userId);
    Page<User> selectUserListPage(Page<User> pagination);

}
